<%@taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
               
               <div class="box">
               
               	 <legend>View Addon </legend>
               
                 <p> The table for addons will be displayed in the above style </p>
                
                  <table class="table table-bordered white">
                  <thead>
                    <tr>
                      <th>#</th>
                      <th>Addon Type</th>
                      <th>Name</th>
                      <th>Price (Rs.)</th>
                      <th>Description</th>
                      <th>Edit</th>
                      <th>Delete</th>
                    </tr>
                  </thead>
                 
                      
                  <c:forEach var="addon" items="${adds}" >  
                     <tbody>
                    <tr>
                      <td>${addon.addonid}</td>
                      <td>${addon.addontypeid}</td>
                      <td>${addon.name}</td>
                      <td>${addon.addonprice}</td>
                      <td>${addon.addondescription}</td>
                      <td><a href="EditAddonServlet?id=${addon.addonid}" class="btn btn-info btn-mini edit-button" name="MemTypeEdit"><i class="icon-edit icon-white"></i> Edit</a></td>
                      <td><a href="DeleteAddonServlet?id=${addon.addonid}" class="btn btn-danger delete-button btn-mini" name="MemTypeDelete"><i class="icon-trash icon-white"></i> Delete</a></td> 
    
                    </tr>
                    
                    
                   
                  </tbody>
                  </c:forEach>
                   
                </table>
               
               </div>
               
            


        <script src="//ajax.googleapis.com/ajax/libs/jquery/1.8.1/jquery.min.js"></script>
        <script>window.jQuery || document.write('<script src="js/vendor/jquery-1.8.1.min.js"><\/script>')</script>

        <script src="js/vendor/bootstrap.min.js"></script>
        <script src="js/main.js"></script>
        
        

